package com.tanhua.dubbo.api;

import com.tanhua.dubbo.mappers.JsrMapper;
import com.tanhua.model.domain.Jsr;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class JsrApiImpl implements JsrApi {
    @Autowired
    private JsrMapper jsrMapper;

    @Override
    public Jsr find(Long id) {

        return jsrMapper.selectById(id);
    }
}
